package com.yfp.file.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
public class FileProperty implements Serializable {

    private static final long serialVersionUID = 1066733639850242729L;

    @Schema(description = "根据文件类型上传文件，1-图片，2-视频 3-APK软件")
    private String type;

    @Schema(description = "是否需要校验图片是否为3:2")
    private Boolean validateAspectRatio3To2;

    @Schema(description = "是否需要校验图片是否为5:4")
    private Boolean validateAspectRatio5To4;

    @Schema(description = "文件px")
    private String imagePx;

    @Schema(description = "是否需要校验图片范围")
    private Boolean validateRange;
}

